//20210517  zaq  引入封装的get/post请求方法，直接调用后端接口地
//20210518  zaq  新增注册接口
//20210519  zaq  引入密码修改、个人信息修改接口
//20210520  zaq  引入账簿查询、账簿修改接口
//20210521  zaq  引入新增、删除账簿,查询账簿分组模板,新增分组接口
//20210601  zaq  引入按月查询日程接口
//20210602  zaq  引入日程增删改接口
//20210603  zaq  引入按天查询日程接口
import { get,post } from "../api/http";
// export const getData = (params) => get("后端接口名",params);
export const getUser_0000 = (data) => post("user/get",data);
export const getAllUser_0000 = (data) => post("user/getAll",data);
export const getBook_0000 = (data) => post("book/getBook",data);
export const getKindBook_0000 = (data) => post("book/getKindBook",data);
export const getKindGroup_0000 = (data) => post("book/selectKindGroup",data);
export const getGroup_0000 = (data) => post("book/getGroup",data);
export const getKindKind_0000 = (data) => post("book/getKindKind",data);
export const getKindPay_0000 = (data) => post("book/getKindPay",data);
export const getList_0000 = (data) => post("book/getStatement",data);
export const getCountLog_0000 = (data) => post("log/getCount",data);
export const getLog_0000 = (data) => post("log/getAll",data);
export const getKindTextGroup_0000 = (data) => post("text/getKindTextGroup",data);
export const getTextGroup_0000 = (data) => post("text/getTextGroup",data);
export const getTextDefault_0000 = (data) => post("text/getTextDefault",data);
export const getTextBody_0000 = (data) => post("text/getTextBody",data);
export const getMonthCalendar_0000 = (data) => post("calendar/selectMonth",data);
export const getOneCalendar_0000 = (data) => post("calendar/selectOne",data);
export const getSummaryCalendar_0000 = (data) => post("calendar/selectSummary",data);
export const getDayCalendar_0000 = (data) => post("calendar/selectDay",data);
export const getMonth_0000 = (data) => post("calendar/month",data);
export const getQuickAdd_0000 = (data) => post("quick/getAll",data);

export const selectAllSummary_input_0000 = (data) => post("book/selectAllSummary_input",data);
export const selectAllSummary_output_0000 = (data) => post("book/selectAllSummary_output",data);

export const login = (data) => post("user/login",data);

export const register_11101 = (data) => post("user/register",data);
export const update_11301 = (data) => post("user/update",data);
export const updatePwd_11302 = (data) => post("user/updatePwd",data);
export const delete_11401 = (data) => post("user/delete",data);
export const insert_12101 = (data) => post("book/insertBook",data);
export const update_12201 = (data) => post("book/updateBook",data);
export const delete_12301 = (data) => post("book/deleteBook",data);
export const insert_13101 = (data) => post("book/insertGroup",data);
export const update_13201 = (data) => post("book/updateGroup",data);
export const delete_13301 = (data) => post("book/deleteGroup",data);
export const insert_14101 = (data) => post("book/insertStatement",data);
export const update_14201 = (data) => post("book/updateStatement",data);
export const delete_14301 = (data) => post("book/deleteStatement",data);

export const insert_15101 = (data) => post("calendar/insert",data);
export const update_15201 = (data) => post("calendar/update",data);
export const delete_15301 = (data) => post("calendar/delete",data);

export const insert_16111 = (data) => post("text/insertTextGroup",data);
export const update_16121 = (data) => post("text/updateTextGroup",data);
export const delete_16131 = (data) => post("text/deleteTextGroup",data);

export const insert_16211 = (data) => post("text/insertTextDefault",data);
export const update_16221 = (data) => post("text/updateTextDefault",data);
export const delete_16231 = (data) => post("text/deleteTextDefault",data);

export const insert_16611 = (data) => post("text/insertTextBody",data);
export const update_16621 = (data) => post("text/updateTextBody",data);
export const delete_16631 = (data) => post("text/deleteTextBody",data);

export const insert_17001 = (data) => post("quick/insert",data);
//此处如果有参数传入给后端就需要写上参数 params/data 否则可以为空
// export const getData = () => get("后端接口名");
// export const getData1 = () => post("后端接口名");